home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
userbox
/
publicdomain
/
superplay-lib_dev
/
programmers
/
include
/
spobjects
/
spobjectbase.h
next >
Wrap
C/C++ Source or Header
|
1996-05-27
|
2KB
|
74 lines
/* spobjects/spobjectbase.h */
/* Version : 1.2 */
/* Date : 18.01.1994 */
/* Written by : Andreas R. Kleinert */
#ifndef SPOBJECTS_SPOBJECTBASE_H
#define SPOBJECTS_SPOBJECTBASE_H
#ifndef SPOBJECTS_SPOBJECTS_H
#include <spobjects/spobjects.h>
#endif /* SPOBJECTS_SPOBJECTS_H */
#ifndef EXEC_LISTS
#include <exec/lists.h>
#endif /* EXEC_LISTS */
#ifndef EXEC_LIBRARIES
#include <exec/libraries.h>
#endif /* EXEC_LIBRARIES_H */
/* An external support-library for the superplay.library is called a
"spobject".
Each spobject has to contain a "SPO_ObjectNode" structure (as follows)
in its Library-Header, which later will be READ and MODIFIED by
the superplay.library.
Because the superplay.library supports three different sorts
of SPObjects at the time (internal, independent and external),
there are three different types of this structure (might be more in
the future), which can be identified via their "spo_ObjectType".
*/
/* The Construction of a spobject :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Library Base
----------------
Version MUST be 1 yet, Revision can be set freely
(see structure described below)
The Function Table
------------------
(see <pragmas/spobjects.h> or Reference_ENG.doc)
*/
/* *************************************************** */
/* * * */
/* * Library base Definition for spobjects * */
/* * * */
/* *************************************************** */
struct SPObjectBase
{
struct Library spb_LibNode; /* Exec LibNode */
struct SPO_ObjectNode *spb_SPObject; /* POINTER to initialized */
/* SPO_ObjectNode */
/* Define it somewhere else, */
/* then initialize this pointer. */
ULONG spb_Reserved [32]; /* Reserved for future expansion. */
/* Always NULL yet (Version 1). */
/*
Private data of the spobject, not to be accessed
by superplay.library, may follow.
*/
};
#endif /* SPOBJECTS_SPOBJECTBASE_H */